package org.zachary.agent.domain.aggregate_model.token;

import jakarta.persistence.Embeddable;
import lombok.Getter;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Embeddable
public class AccessToken  implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private String accessToken;
    private long accessExpires;

    public AccessToken(String accessToken, long accessExpires) {
        this.accessToken = accessToken;
        this.accessExpires = accessExpires;
    }

    protected AccessToken() {}

}
